package com.xmb.wcapi.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmb.wcapi.dto.InventoryAgoSaDTO;
import com.xmb.wcapi.entity.InventoryAgo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@DS("db2")
public interface InventoryAgoMapper extends BaseMapper<InventoryAgo> {
    IPage<InventoryAgo> selectInfoPage(Page<?> page,@Param("ew") QueryWrapper<InventoryAgo> ew);
    Long selectInfoPageCOUNT(@Param("ew") QueryWrapper<InventoryAgo> ew);
}
